<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box{
            width: 300px;
            height: 400px;
            border: 1px solid red;
        }
        img{width: 200px;
            height: 260px;
            margin-left: 45px;
        }
        .yes .box1{
            background-color: red;
            color: white;
            margin-right: 10px;
        }
        .yes .box2{
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            color: gray;
            margin-top: 5px;
            margin-bottom: 5px;
        }
        .yes .box3{
            color: red;
            font-size: 18px;
            margin-right: 10px;
        }
        .yes .box4{
            color: gray;
            text-decoration: line-through;
        }

    </style>
</head>
<body>
    <div class="box">
        <div class="yes">
            <img src="../作业/下载.jpg" alt="">
            <p><span class="box1">京东自营</span>球星海报</p>
            <p class="box2">前面我们已经学习了变量的定义，
                 这节我们来对定义的变量做算术运算吧！</p>
            <p><span class="box3">￥100</span><span class="box4">￥200</span></p>
        </div>
    </div>
</body>
</html>